package com.ruoyi.college.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 课程与班级关联对象 t_course_class
 * 
 * @author ruoyi
 * @date 2025-08-26
 */
public class CourseClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程班级关联ID */
    private Long id;

    /** 课程安排ID */
    @Excel(name = "课程安排ID")
    private Long arrangementId;

    private Long courseId;

    @Excel(name = "安排课程")
    private String courseName;

    /** 教师ID */
    //@Excel(name = "教师ID")
    private Long teacherId;

    @Excel(name = "教师")
    private String teacherName;

    //@Excel(name = "教师ID")
    private Long leaderId;

    @Excel(name = "课程负责人")
    private String leaderName;

    private Long semesterId;

    @Excel(name = "学期")
    private String semesterName;

    /** 班级ID */
    //@Excel(name = "班级ID")
    private Long classId;

    @Excel(name = "班级")
    private String className;

    private List<Long> classIds;

    public List<Long> getClassIds() {
        return classIds;
    }

    public void setClassIds(List<Long> classIds) {
        this.classIds = classIds;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setArrangementId(Long arrangementId) 
    {
        this.arrangementId = arrangementId;
    }

    public Long getArrangementId() 
    {
        return arrangementId;
    }

    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }

    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Long getLeaderId() {
        return leaderId;
    }

    public void setLeaderId(Long leaderId) {
        this.leaderId = leaderId;
    }

    public String getLeaderName() {
        return leaderName;
    }

    public void setLeaderName(String leaderName) {
        this.leaderName = leaderName;
    }

    public Long getSemesterId() {
        return semesterId;
    }

    public void setSemesterId(Long semesterId) {
        this.semesterId = semesterId;
    }

    public String getSemesterName() {
        return semesterName;
    }

    public void setSemesterName(String semesterName) {
        this.semesterName = semesterName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("arrangementId", getArrangementId())
            .append("teacherId", getTeacherId())
            .append("classId", getClassId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
